﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PhotoMgr.src.common
{
    public class PageData
    {
        public PageData(){}

        public PageData(int currentPage, int totalPages, object dataSource)
        {
            CurrentPage = currentPage;
            TotalPages = totalPages;
            DataSource = dataSource;
        }

        public PageData(int currentPage, int totalPages, object dataSource, int totalRecords)
        {
            CurrentPage = currentPage;
            DataSource = dataSource;
            TotalPages = totalPages;
            TotalRecords = totalRecords;
        }

        public int CurrentPage { get; set; }

        public int TotalPages { get; set; }

        public int TotalRecords { get; set; }

        public object DataSource { get; set; }
        
    }
}
